package com.hmis.starter;

import com.hmis.hmis.UserInterface.systemUI.SystemUI;
import javafx.stage.Stage;

public class MainUI {

    private static MainUI mainUI;
    private Stage stage;

    private MainUI() {

        stage = SystemUI.getSystemUI().getStage();
        stage.show();

    }

    public static MainUI MainUI() {
        if (mainUI == null) {
            mainUI = new MainUI();
            return mainUI;
        }
        return mainUI;
    }

    public void show() {
        stage.show();
    }

    public Stage getStage() {
        return stage;
    }


}
